///头文件保护符
#ifndef CHAPTER5_H
#define CHAPTER5_H
#include <string>
class Sale_data
{public:
std::string book;
unsigned number;
double price;
double get();
};

double Sale_data::get()
{
    return this->number*this->price;
}

#endif 
